.dashboard {
  min-height: calc(100vh - 64px) !important;
  padding: 20px 4px !important;
  margin-bottom: -20px !important;
  & > p {
    color: $default-color;
    font-size: 12px;
    cursor: pointer;
  }

  .helios-page-header{
    width: calc(100% + 56px);
    margin-bottom: 25px;
  }
  .course-area{
    width: 100%;
    height: 90px;
    background: white;
    margin-bottom: 20px;
    .course-area-img{
      width: calc(100% - 290px);
      float: left;
      height: 90px;
    }
    .course-area-content{
      width: 290px;
      float: right;
      height: 90px;
      position: relative;
      .course-area-btn{
        position: absolute;
        top: 27px;
        height: 36px;
        width: 120px;
        border-radius: 18px;
        background-image: linear-gradient(-180deg, #76B6FF 0%, #4689FF 100%);
        box-shadow: 0 4px 10px 0 rgba(39,112,255,0.21);
        cursor: pointer;
      }
      .course-area-btn-text{
        position: absolute;
        top: 34px;
        left: 33px;
        color: white;
        z-index: 10;
        cursor: pointer;
      }
      .course-area-close{
        position: absolute;
        top: 8px;
        right: 8px;
        color: #D8D8D8;
        cursor: pointer;
      }
    }
  }

  .btn-operated{
    position: fixed;
    top: 90px;
    right: 40px;
    z-index: 3;
    width: 46px !important;
    height: 46px !important;
    border: 1px solid #EBEDF0;
    color: $default-color;
    font-size: 22px !important;
    &:hover{
      box-shadow: 0 3px 7px 0 #F0F0F0;
      color: $default-color-hover;
    }
    &:focus{
      background: #ffffff;
      color: $default-color-focus;
    }
  }

  .btn-operating{
    display: none;
  }

  .operate{
    padding-left: 20px;
    h2{
      font-weight: 600;
      font-size: 20px;
      color: rgba(0,0,0,0.85);
    }
    .operate-item{
      display: inline-block;
      margin-right: 16px;
      color: #575757;
      cursor: pointer;
      i{
        margin-right: 4px;
      }
      &:hover{
        color: $default-color;
      }
    }
    .default-color-font { color: $default-color; }
  }

  .personal-info {
    min-height: 60px;
    .user-img{
      text-align: center;
      img{
        width: 56px;
        height: auto;
        margin-top: 4px;
        max-height: 56px;
        border-radius: 50%;
      }
    }
    .user-dep{
      min-height: 60px;
      display: table;
      h2{
        min-height: 60px;
        display: table-cell;
        vertical-align: middle;
        font-weight: 600;
        font-size: 20px;
        line-height: 1em;
        color: rgba(0,0,0,0.85);
        span{
          margin-left: 20px;
          font-weight: normal;
          font-size: 14px;
          color: #595959;
        }
      }
    }
    .dashboard-tip{
      display: table-footer-group;
      font-size: 14px;
      color: rgba(0,0,0,0.45);
    }
  }

  .ant-card {
    div {
      height: 100%;
    }
    .ant-card-body {
      padding: 0;
      .card-title {
        position: relative;
        height: 50px;
        border-bottom: 1px solid #F0F0F0;
        box-sizing: border-box;
        line-height: 49px;
        width: calc(100% - 40px);
        margin-left: 20px;
        font-size: 14px;
        color: #666666;
        font-weight: 600;
      }
      .card-content {
        width: 100%;
        padding: 10px 20px;
        height: calc(100% - 50px);
        position: relative;
        .amount-card {
          width: calc(100% - 20px);
          height: 60px;
          position: absolute;
          padding-left: 10px;
          top: calc(50% - 30px);
          left: 20px;
          font-size: 20px;
          color: #666666;
          -webkit-transform: translateY(-50%);
          -moz-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          -o-transform: translateY(-50%);
          transform: translateY(-50%);

          .amount-title {
            line-height: 35px;
            height: 35px;
            color: $default-color;
            margin-top: 10px;
            font-weight: 600;
            span {
              color: rgba(0,0,0,0.85);
              margin-left: 20px;
            }
          }
          .amount-detail {
            line-height: 25px;
            height: 25px;
            font-size: 12px;
            color:  rgba(0,0,0,0.25);
            font-weight: normal;
            width: 90%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }
      }
    }
  }

  .piechart {
    .default-null-card { width: 100%; }
    .echarts{
      position: absolute;
      top: 50%;
      width: 100%;
      -webkit-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      transform: translateY(-50%);
    }
    .card-content{
      padding: 0 !important;
      position: relative
    }
    .chart-legend{
      position: absolute;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      transform: translateY(-50%);
      list-style: none;
      padding: 0;
      margin: 0;
      .legend-list{
        line-height: 28px;
        cursor: pointer;
      }
      .legend-marker{
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 12px;
      }
      .legend-text{
        font-size: 14px;
        color: rgba(0,0,0,0.65);
        span{
          color: #A7A7A7;
        }
        &:hover{
          color: $default-color;
          span{
            color: $default-color;
          }
        }
      }
    }
  }
  .dashboard-sumbit-box {
    width: 100% !important;
    // height: 198px !important;
    .chart-legend-submit{
      position: absolute;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      transform: translateY(-50%);
      list-style: none;
      padding: 0;
      margin: 0;
      .legend-list{
        line-height: 28px;
        cursor: pointer;
      }
      .legend-marker{
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 12px;
      }
      .legend-text{
        font-size: 14px;
        color: rgba(0,0,0,0.65);
        span{
          color: #A7A7A7;
        }
        &:hover{
          color: $default-color;
          span{
            color: $default-color;
          }
        }
      }
    }
  }

  .dynamic-document-card {
    .card-content {
      padding: 0 !important;
      overflow-x: hidden;
      &>span{
        height: 100%;
      }
    }
    .active-content {
      overflow-y: scroll;
      width: 100%;
      padding: 0 20px;
      .latest-item {
        width: 100%;
        height: auto;
        position: relative;
        border-bottom: 1px dashed #e9e9e9;
        padding: 10px 0;
        cursor: pointer;
        -webkit-transition: all 1s;
        -moz-transition: all 1s;
        -ms-transition: all 1s;
        -o-transition: all 1s;
        transition: all 1s;
        &:hover {
          background: rgba(0,0,0,0.02);
        }
        .state-icon {
          text-align: center;
          img{
            width: 14px;
            height: auto;
            margin-top: -2px;
          }
        }
        .base-info {
          color: #999999;
          margin-bottom: 4px;
          span {
            color: $default-color;
            margin-left: 12px;
            margin-right: 6px;
          }
          .business-code {
            color: #B0B0B0;
          }
        }
        .form-info {
          font-size: 14px;
          font-weight: 600;
          height: 26px;
          color: rgba(0,0,0,0.85);
          line-height: 26px;
          .f-right>span{
            margin-right: 6px;
          }
        }
        .document-title {
          color: #555555;
          font-size: 14px;
          width: 80%;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }
    }
    .dynamic-document-tips{
      height: 46px;
      line-height: 46px;
      text-align: center;
      font-size: 12px;
      color: rgba(0,0,0,0.25);
    }
  }

  .document-card {
    .ant-card-body {
      .card-content {
        overflow-x: hidden;
        .document-content {
          overflow-y: scroll;
          width: calc(100% + 38px);
          height: 100%;
          padding-right: 30px;
          &::-webkit-scrollbar {
            width: 8px;
          }
          &::-webkit-scrollbar-track {
            border-radius: 0;
          }
          &::-webkit-scrollbar-thumb {
            border-radius: 4px;
            background: rgba(0, 0, 0, 0.1);
          }
        }
        .document-icon {
          position: relative;
          height: 30px;
          line-height: 30px;
          text-align: center;
          width: 100%;
          box-sizing: border-box;
          cursor: pointer;
          &:hover {
            background: #e9e9e9;
          }
        }
        .application-item {
          height: 104px;
          width: 100%;
          cursor: pointer;
          box-sizing: border-box;
          margin-right: 10px;
          padding: 10px;
          border-bottom: 1px solid #E4E4E4;
          position: relative;
          div {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
          .application-date {
            height: 16px;
            line-height: 16px;
            color: #999999;
            font-size: 12px;
          }
          .application-form-name {
            height: 30px;
            line-height: 30px;
            color: #555555;
            font-size: 16px;
          }
          .application-amount {
            height: 20px;
            line-height: 20px;
            color: #555555;
            font-size: 16px;
            b {
              color: #999;
              margin-right: 5px;
            }
          }
          .application-business-code {
            height: 20px;
            line-height: 20px;
            color: #999999;
            font-size: 12px;
            position: absolute;
            right: 10px;
            top: 10px;
          }
          .application-operate {
            position: absolute;
            top: 32px;
            right: 10px;
            height: 20px;
            line-height: 20px;
            color: #999999;
            font-size: 12px;
            padding-left: 20px;
            img {
              position: absolute;
              top: 0;
              left: 0;
              height: 20px;
            }
          }
        }
        .application-item:hover {
          //border: 2px solid $default-color;
          background-color: $highlight-default;
        }
      }
    }
  }

  .ant-card.ant-card-bordered {
    border: none;
  }

  .carousels {
    width: 100%;
    overflow: hidden;
    div {
      height: 100%;
    }
    .card-content {
      margin-top: 30px;
    }
    .slick-arrow {
      width: 40px;
      height: 40px;
      border-radius: 20px;
      background: rgba(0, 0, 0, .4);
      color: #ffffff;
      z-index: 3;
      top: 50%;
      &:hover {
        color: #ffffff;
        background: rgba(0, 0, 0, .4) !important;
      }
      &:focus {
        color: #ffffff;
        background: rgba(0, 0, 0, .4) !important;
      }
    }
    .slick-prev {
      left: 10px;
      &::before {
        content: "\003c";
        text-align: center;
        font-size: 18px !important;
      }
    }
    .slick-next {
      right: 10px;
      &::before {
        content: "\003e";
        text-align: center;
        font-size: 18px;
      }
    }
    .ant-card-body {
      .slick-dots {
        top: 12px;
        bottom: auto;
      }
    }
    .carousel {
      position: relative;
      overflow: hidden;
      img {
        position: relative;
      }
      .carousel-title {
        position: absolute;
        padding-left: 20px;
        width: 100%;
        left: 0;
        background: rgba(0, 0, 0, .4);
        height: 40px;
        line-height: 40px;
        color: white;
      }
    }
  }
  .card-sub-title {
    display: inline-block;
    float: right;
    height: 50px;
    line-height: 50px;
    color: rgba(0,0,0,0.25);
    margin-right: 6px;
    font-size: 14px;
    font-weight: normal;
    &:hover{
      color: $default-color;
    }
  }
  .card-input{
    display: inline-block;
    float: right;
    width: 335px;
    line-height: 50px;
    margin-top: 10px;
    .ant-select{
      width: 50%;
      font-weight: normal;
    }
    .ant-calendar-picker{
      width: 50% !important;
    }
  }
  .card-more {
    display: inline-block;
    float: right;
    text-align: center;
    margin-right: -10px;
    height: 50px;
    line-height: 50px;
    color: #909090;
    font-weight: normal;
    a{
      color: rgba(0,0,0,.2);
    }
    i:hover{
      color: $default-color;
    }
  }

  .common-func {
    ul {
      margin: 0;
      padding: 10px 30px 10px 10px;
      overflow-y: scroll;
      width: calc(100% + 38px);
      height: 100%;
    }
    .tag-item {
      width: 50%;
      height: 32px;
      line-height: 1;
      display: inline-block;
      cursor: pointer;
      &:hover{
        color: $default-color;
      }
    }
    .default-null-card a{
      margin: 0 4px;
    }
    .admin-mode{
      color: #bfbfbf;
      i{
        display: inline-block;
        vertical-align: top;
        font-size: 12px;
        margin-top: 4px;
        margin-right: 6px;
      }
    }
  }

  .chart-card {
    .card-content {
      padding: 20px;
      position: relative;
      width: 100%;
      height: calc(100% - 50px);
      .chart {
        width: 100%;
        h4 {
          float: right;
          margin-right: 20px;
          color: #555555;
          &::before {
            content: '';
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 4px;
            background-color: $default-color;
            margin-right: 5px;
          }
        }
      }
      .amount-area, .expense-rank {
        height: auto;
        div {
          position: relative;
          color: #999999;
          .amount {
            position: absolute;
            right: 0;
            top: 50%;
            text-align: right;
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            transform: translateY(-50%);
            color: #666666;
          }
        }
        .paid-amount {
          font-size: 14px;
          height: 24px;
          line-height: 24px;
          margin-bottom: 6px;
          color: rgba(0,0,0,0.65);
          img{
            width: 12.8px;
            height: 12.8px;
            margin-left: 12px;
            margin-right: 12px;
          }
        }
        .paid-title {
          color: rgba(0,0,0,0.85);
          font-weight: 600;
        }
        .paid-dot{
          width: 8px;
          height: 8px;
          display: inline-block;
          margin-right: 12px;
          margin-bottom: 2px;
          margin-left: 12px;
        }
      }
      .expense-rank{
        margin-top: 16px;
      }
    }
  }

  .update-log{
    max-width: none;
    margin: 0;
    .card-content{
      padding-right: 0 !important;
    }
    .version{
      overflow-y: scroll;
      width: calc(100% + 18px);
      height: 100%;
      padding-right: 20px;
    }
    .version-date{ color: rgba(0,0,0,0.45); }
    .version-number{
      color: #464646;
      font-size: 16px;
      font-weight: 600;
    }
    .version-detail{
      list-style: none;
      margin: 0;
      padding: 0;
      li{
        color: rgba(0,0,0,0.65);
        line-height: 24px;
        margin-bottom: 6px;
      }
    }
    .log{
      height: auto;
    }
    .view-all{
      color: $default-color;
      cursor: pointer;
      margin-top: 10px;
    }
  }

  .supplier-card {
    .card-content {
      overflow: hidden;
      .third-consumption-content {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        width: calc(100% + 40px);
        padding-right: 40px;
        .vendor-item {
          height: auto;
          text-align: center;
          padding: 5px 0;
          cursor: pointer;
          div {
            height: auto;
            padding: 10px;
            span:first-child {
              text-align: center;
              display: inline-block;
              vertical-align: middle;
              width: 40px;
              img {
                width: 24px;
                height: auto;
                max-height: 24px;
                border-radius: 50%;
              }
            }
            span:last-child {
              display: inline-block;
              width: calc(100% - 40px);
              font-size: 14px;
              text-align: left;
              color: rgba(0,0,0,0.65);
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              vertical-align: middle;
              &:hover{
                color: $default-color;
              }
            }
          }

        }
      }
    }
  }

  .default-null-card {
    height: auto !important;
    width: calc(100% - 40px);
    text-align: center;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    img {
      width: auto;
      height: 72px;
    }
    p:first-child{
      margin-bottom: 6px;
    }
    .default-null-card-title {
      margin-bottom: 0;
      font-size: 12px;
      color: #BFBFBF;
    }
  }
  .badge-status-dot {
    width: 6px;
    height: 6px;
    margin-right: 6px;
    display: inline-block;
    border-radius: 50%;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }
}
